UIS Commands and Device Template Files

You can usually add and configure UIS commands in a device template file (.dtf), but this depends on remote device type. Some remote devices do not expose their commands in a device template file, nor can new ones be added.

In cases where commands can be altered in a device template file, define default UIS commands and default parameters in a defUisCmds section. You can also define parameters on a data group basis using a uccRecvParms and/or uccSendParms section in each applicable data group. Consult your field device’s protocol for the correct data group send/receive parameters.

Essential elements required for creating UIS commands include defUisCmds, UISCommandName, uccItems, DG_F_DEV and DG_T_DEV, and uccParms. Essential elements required for creating UIS parameters on a data group basis include uccRecvParms/uccSendParms and RecParmName/SendParmName.

Example

<defUisCmds visible="true" canBeScheduled="true" clientCanInvoke="true" inheritsSecurity="false">

<STATUS desc="Get current status" visible="true" canBeScheduled="true" clientCanInvoke="true" inheritsSecurity="false">

<uccItems>

<DG_F_DEV dgType="Status" ordinal="1"/>

</uccItems>

</STATUS>

</defUisCmds>

For information about how to create UIS command parameters in a device template file, see Device Template Files.